using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN SalaryFieldsEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:11/03/2013 46:03:51</para>
	/// <para>Class Name: SalaryFieldsEntity</para>
	/// <para>Description: ClassSalaryFieldsEntity store data of table SalaryFields</para>
	///</summary>

	[Serializable]
	public partial class SalaryFieldsEntity{


		private bool _InternalChangedIsNullSalaryFieldId=true;
		private bool _IsNullSalaryFieldId=true;
		private bool _InternalChangedIsNullFieldCode=true;
		private bool _IsNullFieldCode=true;
		private bool _InternalChangedIsNullFieldName=true;
		private bool _IsNullFieldName=true;
		private bool _InternalChangedIsNullFieldNote=true;
		private bool _IsNullFieldNote=true;
		private bool _InternalChangedIsNullFieldType=true;
		private bool _IsNullFieldType=true;
		private int _SalaryFieldId;
		private string _FieldCode;
		private string _FieldName;
		private string _FieldNote;
		private Byte _FieldType;
		[XmlElement(ElementName = "IsNullSalaryFieldId")]
		public bool IsNullSalaryFieldId{
			get{return _IsNullSalaryFieldId;}
			set{if(!_InternalChangedIsNullSalaryFieldId)_IsNullSalaryFieldId=value;}
		}
		[XmlElement(ElementName = "IsNullFieldCode")]
		public bool IsNullFieldCode{
			get{return _IsNullFieldCode;}
			set{if(!_InternalChangedIsNullFieldCode)_IsNullFieldCode=value;}
		}
		[XmlElement(ElementName = "IsNullFieldName")]
		public bool IsNullFieldName{
			get{return _IsNullFieldName;}
			set{if(!_InternalChangedIsNullFieldName)_IsNullFieldName=value;}
		}
		[XmlElement(ElementName = "IsNullFieldNote")]
		public bool IsNullFieldNote{
			get{return _IsNullFieldNote;}
			set{if(!_InternalChangedIsNullFieldNote)_IsNullFieldNote=value;}
		}
		[XmlElement(ElementName = "IsNullFieldType")]
		public bool IsNullFieldType{
			get{return _IsNullFieldType;}
			set{if(!_InternalChangedIsNullFieldType)_IsNullFieldType=value;}
		}
		[XmlElement(ElementName = "SalaryFieldId")]
		public int SalaryFieldId{
			get{return _SalaryFieldId;}
			set{
				_SalaryFieldId=value;
				if(_SalaryFieldId!=null){
					_IsNullSalaryFieldId=false;
					_InternalChangedIsNullSalaryFieldId=true;
				}
			}
		}
		[XmlElement(ElementName = "FieldCode")]
		public string FieldCode{
			get{return _FieldCode;}
			set{
				_FieldCode=value;
				if(_FieldCode!=null){
					_IsNullFieldCode=false;
					_InternalChangedIsNullFieldCode=true;
				}
			}
		}
		[XmlElement(ElementName = "FieldName")]
		public string FieldName{
			get{return _FieldName;}
			set{
				_FieldName=value;
				if(_FieldName!=null){
					_IsNullFieldName=false;
					_InternalChangedIsNullFieldName=true;
				}
			}
		}
		[XmlElement(ElementName = "FieldNote")]
		public string FieldNote{
			get{return _FieldNote;}
			set{
				_FieldNote=value;
				if(_FieldNote!=null){
					_IsNullFieldNote=false;
					_InternalChangedIsNullFieldNote=true;
				}
			}
		}
		[XmlElement(ElementName = "FieldType")]
		public Byte FieldType{
			get{return _FieldType;}
			set{
				_FieldType=value;
				if(_FieldType!=null){
					_IsNullFieldType=false;
					_InternalChangedIsNullFieldType=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SalaryFieldsEntityBase*****************************************/
	/*****************************************************************************************************/
}

